package com.threefivework.mymall.wechat.common;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.threefivework.mymall.annotation.Required;
import lombok.Data;

/**
 * descripiton:
 *
 * @author: kinson(2219945910@qq.com)
 * @date: 2018/7/4
 * @time: 22:46
 * @modifier:
 * @since:
 */
@Data
public class BaseDTO {

    /**
     * 公众号id
     */
    @Required
    @XStreamAlias("appid")
    private String appId;

    /**
     * 商户号
     */
    @Required
    @XStreamAlias("mach_id")
    private String mchId;

    /**
     * 随机字符串
     */
    @Required
    @XStreamAlias("nonce_info")
    private String nonceStr;

    /**
     * 签名
     */
    @Required
    @XStreamAlias("sign")
    private String sign;


}
